#-*- coding:utf-8 -*-
from django.conf.urls import url,patterns
from django.http import HttpResponseRedirect
from blogs import views
from blogs.models import Term,Blog
urlpatterns = patterns('blogs.views',
    url(r'^articles/list/(?P<page>\d{0,10})$','list',{'templateName':'articles_list.html','objType':Blog}),
    url(r'^terms/list/(?P<page>\d{0,10})$','list',{'templateName':'terms_list.html','objType':Term}),
    url(r'^article/detail/(?P<id>\d+)/$','detail'),
    url(r'^keyword/$','keyword_test'),
    url(r'^darkchain/$','darkchain'),
    url(r'^qiniu/$','qiniu'),
)
